home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Tracker Coordinates
- Sent: 6/6/96 12:26 PM
- Received: 6/6/96 12:31 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >Well then perhaps my problem has to do with the difference between view
- >coordinates and view _content_ coordinates.
- >
- >My situation is that I have a content view whose coordinates are the same as
- >the frame. I have a subview of the content view located at (say) (20, 200,
- >200, 220) in view content coordinates. I click the mouse near the left top of
- >this subview. What I observe in the debugger is that in BeginTracking,
- >anchorPoint is about (25, 205) but that the currentPoint passed in to
- >ContinueTracking is (5, 5).
- >
- >When I trace theGC.DeviceToLogical(..) it _does_ seem to convert to _view_
- >coordinates as opposed to view _content_ coordinates.
- >
- >Am I confused, or what?
- >
- >Thanks,
- >Bill Finzer
-
- I'll try that and keep you posted.
-
- Thanks
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-